package com.xinqi.modules.prepare.folder.dto.req;

import com.xinqi.common.base.response.Param;
import com.xinqi.modules.prepare.prepare.enums.PrepareFileTypeEnum;
import com.xinqi.modules.prepare.prepare.enums.PrepareTypeEnum;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 备课区文件夹-请求对象-查询
 *
 * @author: system
 * @date: 2023/03/19
 */
@Data
public class PrepareFileFolderQueryDTO extends Param {
    @Parameter(description = "id", example = "100001")
    private Long id;
    @Parameter(description = "备课区ID", example = "100002", hidden = true)
    private Long prepareId;
    @Parameter(description = "备课区类型，1:互动课件；2:资料；3:作业；4:测评；5:讨论；6:互动视频；8:公告；99:题库；10:成员", example = "1")
    private PrepareTypeEnum prepareType;
    @Parameter(description = "文件类型，FOLDER:文件夹；FILE:文件；", example = "FOLDER")
    private PrepareFileTypeEnum fileType;
    @Parameter(description = "文件名，支持模糊查询", example = "测试资料")
    private String name;
    @Schema(description = "文件夹父id，根目录为0", example = "0")
    private Long pid;
}
